import Vue from 'vue';
import App from '../view/main.vue';
import router from '../route/subRouter.js';
import '~/assets/stylus/common';

new Vue({
  router,
  watch: {
    '$route': function (to, from) {
      console.log(to, from);
    }
  },
  render: (h) => h(App)
}).$mount('#app');
